package org.boulderfoodrescue.webapp.client.old.calendar.ical;

import com.bradrydzewski.gwt.calendar.client.Appointment;
import com.bradrydzewski.gwt.calendar.client.Calendar;
import com.google.gwt.user.client.ui.DialogBox;

public class NewEventDialog extends DialogBox{
  protected NewEventPanel newEventPanel;
  protected boolean warned = false;
  
  public NewEventDialog(Calendar calendar, Appointment appt){
    this.setGlassEnabled(true);
    this.setTitle("Edit Event");
    this.setAnimationEnabled(true);
    newEventPanel = new NewEventPanel(this, calendar, appt);
    this.add(newEventPanel);
  }
}
